Crate pacmanconf[][src]

PacmanConf

pacmanconf is a simple parser for pacman config files.

This parser parses pacman config files textually. It makes no attempt convert fields such as SigLevel or Usage into bitfields.

pacmanconf is a wrapper around the pacman-conf binary. Instead of fully parsing pacman.conf files, pacman-conf is used as an intermediate step to greatly simplify the parser logic.

However this is more of an implementation detail and pacman-conf will be called automatically when parsing files.

Structs

Config

A pacman config.

Error

The error type for pacman.conf parsing.

ErrorLine

Error Line holds a line of text and the line number the line is from.

Repository

A Pacman repository.

Enums

ErrorKind

A list of possible errors that may occur when parsing a pacman.conf